home *** CD-ROM | disk | FTP | other *** search
/ Meeting Pearls 1 / Meeting Pearls Vol 1 (1994).iso / installed_progs / text / faqs / aux-faq.part2 < prev    next >
Encoding:
Internet Message Format  |  1994-05-12  |  46.2 KB

  1. Subject: Apple A/UX FAQ List (2/4)
  2. Newsgroups: comp.unix.aux,news.answers,comp.answers
  3. From: jim@jagubox.gsfc.nasa.gov (Jim Jagielski)
  4. Date: 10 May 94 10:24:09 GMT
  5.  
  6. Archive-name: aux-faq/part2
  7. Last-modified: Tue May 10 06:22:25 EDT 1994
  8.  
  9.          This is the Frequently Asked Question (FAQ) list for A/UX 3.x.x
  10.  
  11.  
  12. \\\\\\\\\\\\\\\\\\\\\\ START OF PART 2 OF 4 //////////////////////
  13.  
  14. ====================================
  15. **** Hints and Words Of Wisdom: ****
  16. ------------------------------------
  17.  
  18. o Depending on your setup, A/UX allocates either 10% or 50% of memory for disk
  19.   buffers (that is, the value of 'NBUF' is either 0 or -1... see kconfig(1M))
  20.   [The kernel for the AWS95 has, by default, a NBUF value of -1 whereas
  21.   "everyone else" has NBUF = 0]. If you have a lot of RAM and A/UX is only
  22.   allocating 10%, you can greatly increase system performance by increasing
  23.   the allotment. However, you cannot use kconfig to specify "20%" but you must
  24.   give it an actual number to use. The way to determine the number of buffers
  25.   being used, run "pstat -m". This will give you the number of buffers that
  26.   are currently allocated. For example, if the value is 1000, then you know
  27.   that to increase the number of buffers to 20%, you must use 'kconfig' to set
  28.   'NBUF' to 2000. Under 3.0.2 (and later), you can use the Memory cdev (as
  29.   root) to do this as well. In fact, this is the recommended way.
  30.  
  31.   Please note that if you change the amount of RAM you have, you'll need to
  32.   change the value of 'NBUF.' I suggest that before you add|remove RAM, you
  33.   use 'kconfig' to reset 'NBUF' to 0, then do the RAM change and see how your
  34.   system performance is. If needed, you can then use the above to increase
  35.   (or decrease) the number of disk buffers.
  36.  
  37. o You can run A/UX on the original MacII, however the PMMU chip must be
  38.   installed. You can also use one of the many 68030 upgrades for the MacII,
  39.   such as the Marathon '030, but the MacII ROMs won't recognize the PMMU
  40.   capabilities onboard the CPU. You'll need to get the MacII FDHD ROM Upgrade
  41.   Kit. This kit replaces your ROMs with IIx ROMs, thus enabling you (and
  42.   A/UX) to use the upgrade. The kit also replaces your SWIM chip (floppy
  43.   controller) enabling you to use FDHD disks (if such a drive is installed)
  44.   too... thus the name of the kit. This kit can be had for about $120 although
  45.   some dealers also include a FDHD drive as well, bumping the price up to
  46.   about $430.
  47.  
  48. o You can configure the built-in serial ports for hardware handshaking
  49.   (RTS & DTS) _or_ dialup security (DTR & CD) but not both, due to the
  50.   lack of a sufficient number of modem control lines.
  51.  
  52. o When using ftp, unless you are _sure_ that a file is, in fact, a true
  53.   Text file, set the ftp mode to Binary. This is especially true when
  54.   downloading GIFs and "true" Mac files. If it's a BINHEXed file or a
  55.   uuencoded file, then you can specify Ascii mode (in some cases, it's
  56.   required). If the file you wish to download has the ".tar" or ".Z" suffix,
  57.   then you _need_ Binary; if the suffix is ".uu" or ".hqx" then use Ascii.
  58.   If you are using a MacOS-ftp utility, then using MacBinary may confuse A/UX
  59.   (well, the Unix side of it). If the file is a tar file (for example),
  60.   compressed or not, MacBinary attaches some MacOS "information" to the file
  61.   that tar can't handle. Use 'fcnvt' to change the file to Apple Double to
  62.   "strip" this extra by separating the forks:
  63.   
  64.     $ fcnvt -v -d <input.file> <output.file>
  65.  
  66.   To avoid having A/UX attempt the CR->NL change when copying the file over to
  67.   A/UX, change the Creator to "A/UX" and Type to "BIN " before drag-copying
  68.   the file.
  69.  
  70.   So, the flow should be as follows:
  71.  
  72.     o Set the file's Creator and Type to something safe ("A/UX"
  73.       and "BIN ") to avoid CR->NL translation.
  74.     o Drag copy over to A/UX.
  75.     o Use 'fcnvt' to convert file to Apple Double format.
  76.     o Use UNIX utilties as normal.
  77.  
  78. o To download GIF files via anon-ftp, be sure to specify Binary mode. Then
  79.   use 'setfile' to create the correct Type and Creator fields (for, example,
  80.   for Giffer use 'setfile -t"GIFf" -c"Bozo"'). You can then keep this file
  81.   on your A/UX disk or transfer it over to your MacOS disk (See Q&A #M.07).
  82.  
  83. o If you want to rebuild the "/" desktop, be _sure_ to avoid circular
  84.   symbolic links (links to "." and/or "..") or else you'll be waiting a
  85.   looooong time. In a similar way, make sure that you don't have NFS volumes
  86.   mounted because they will add a LOT to the time required to rebuild the
  87.   Desktop...
  88.  
  89. o With the newest version of HDB UUCP (1.16 - see above), use the "-u"
  90.   option on 'getty' to keep /dev/tty?? settings sane. Also use the "-t" option
  91.   with a value like 60 or so to make getty hang up a hung login attempt.
  92.  
  93. o If your A/UX setup is a true multi-user system, or, at the least, has
  94.   Guest as an active account, it is a Very Good Idea to give each user their
  95.   own personal System Folder (use 'systemfolder'). This is _very_ true for
  96.   root! As root, you should also avoid using the global System Folder
  97.   (mac/sys/System Folder) as an alternate Sys. Folder... there's very little
  98.   need to do so anyway.
  99.  
  100.   Oh yeah... you can't just copy /mac/sys/System Folder to something like
  101.   $HOME/System Folder... you must use 'systemfolder' and add/change/delete
  102.   things as required.
  103.  
  104. o It's very easy to replace TextEditor as your Finder-double-click text
  105.   editor. All you need to do is copy the application to /mac/bin (make sure
  106.   that it's permissions are 755 bin|bin), edit /etc/profile and /etc/cshrc
  107.   to change FINDER_EDITOR to point to the application. Now, A/UX text files
  108.   will show up as that application's filetype. An _excellent_ replacement is
  109.   BBEdit Lite (v 2.31). It is really recommended!
  110.  
  111. o A/UX's 'login' supports additional dialup security. This is enabled by
  112.   creating|editing two files: /etc/dialups and /etc/d_passwd. The format of
  113.   /etc/dialups is a list of ports that you want to have dialup passwds. eg:
  114.  
  115.     /dev/tty0
  116.     /dev/tty10
  117.  
  118.   The format of /etc/d_passwd is a list which associates a password with
  119.   a login program (which is the last field in /etc/passwd). eg:
  120.  
  121.     /bin/sh:&nk7h7ak92j3H:
  122.     /bin/ksh:8hw$jK4ft92jx:
  123.     /bin/csh::
  124.     /usr/lib/uucp/uucico::
  125.  
  126.   In this case, if anyone attempts to login on ports tty0 or tty10 and are
  127.   using 'ksh' or 'sh', they'll get asked for a secondary (dialup) password.
  128.   Users using 'csh' or 'uucico' will not. All other logins that use login
  129.   programs not entered in /etc/d_passwd (like, for example,
  130.   /usr/local/bin/bash) will _not_ be allowed to login on the "secure" port.
  131.  
  132. o If you want to install a program that uses a "complex" installation
  133.   procedure (like for Canvas, Word, Stuffit, etc...) then you should not
  134.   try to do a fresh install under A/UX. Instead, install under the real MacOS,
  135.   reboot A/UX and then install needed files to your A/UX System Folder.
  136.   Programs that, when installed, hack around with the System (beyond things
  137.   like Fonts) itself, most probably won't work under A/UX, since you really
  138.   can't patch System (unless you are handy with ResEdit and know exactly
  139.   what resources to add|change... even then, you are taking a chance...)
  140.  
  141. o If you get an error message to the effect that you have a bad SuperBlock
  142.   when doing a 'fsck' on a disk, try having 'fsck' use another SuperBlock.
  143.   Block #16 is always an alternate SuperBlock block, so you can try:
  144.  
  145.     $ fsck -b 16 /dev/rdsk/cxxxxxxxx
  146.  
  147. o A/UX has two versions of the setpgrp() call. The first is the standard
  148.   SysV version and takes no arguments. The other is the standard BSD version
  149.   and takes 2 arguments (setpgrp(pid, gpid)). However, if, when porting
  150.   programs, you have added the 'set42sig()' call, or link with -lbsd, then
  151.   you _must_ use the 2nd form (actually, the 2nd form is required whenever
  152.   COMPAT_BSDTTY and COMPAT_BSDSIGNALS are set); the 1st form will usually
  153.   fail. A non-portable way of handling this is always calling setpgrp() as
  154.   follows:
  155.  
  156.     setpgrp(0, getpid());
  157.  
  158.   Now, no matter what the compatibility flags are, the function will work
  159.   ('cc' and 'gcc' under A/UX presently ignores the passed arguments when the
  160.   no-argument version is called).
  161.  
  162. o It's always a Good Idea to keep "original" stuff separate from locally
  163.   added or modified stuff. '/usr/local' is a very good place for this.  To
  164.   add manual pages to this location, create a '/usr/local/man' directory.
  165.   Now make a symbolic link from '/usr/catman/L_man' to '/usr/local/man'. This
  166.   does two things: (1) Allows 'man' to search down the '/usr/catman' directory
  167.   to find your local man pages while keeping the actual data under
  168.   '/usr/local'; (2) The local man-page set will be searched first (due to
  169.   the name L_man) as would be desired. If you _really_ want, you can also
  170.   make '/usr/local/catman' a link to '/usr/local/man'.
  171.  
  172. o If you've added a number of additional man pages, you may want to snag the
  173.   'man-utils' package on jagubox.gsfc.nasa.gov. It includes a collection of
  174.   programs and scripts that make viewing, installing and making man pages
  175.   easier. Also includes a replacement for '/usr/bin/man'.
  176.  
  177. o Some 'configure' scripts may fail due to some line-length and symbol-length
  178.   limitations in /bin/sh. You can get around this by changing the script type
  179.   from:
  180.  
  181.     #!/bin/sh
  182.  
  183.   to:
  184.  
  185.     #!/bin/ksh
  186.  
  187.   to run them as 'ksh' scripts... In fact, I personally think it's better
  188.   to run _all_ 'sh' scripts as 'ksh' scripts if possible ;)
  189.  
  190.  
  191.  
  192. ==============
  193. **** Q&A: ****
  194. --------------
  195.  
  196. :::::::::::::::::::::::::::::
  197. ::::: GENERAL QUESTIONS :::::
  198. :::::::::::::::::::::::::::::
  199.  
  200. ===================================
  201. G.01)  What's A/UX? Is it any good?
  202. -----------------------------------
  203.  
  204. A/UX is Apple's implementation of Unix (it's Apple's UNix) for various
  205. Macintosh computers. A/UX merges two computing environments, Unix and the
  206. Macintosh Finder OS, and provides the full functionality of both.
  207.  
  208. A/UX is based on AT&T Unix System V.2.2 with numerous extensions from V.3, V.4
  209. (such as streams) and BSD 4.2/4.3 (such as networking, the Fast File System,
  210. job control, lpr, NFS with Yellow Pages, SCCS and sendmail 5.64).  It also
  211. provides full POSIX compliance. A/UX provides SYSV, BSD and POSIX compatiblity
  212. switches and libraries. A/UX is fully compiant with the System V Interface
  213. Definition (SVID).
  214.  
  215. A/UX provides all three standard shells: sh, csh and ksh. X-Windows is also
  216. provided standard.
  217.  
  218. A/UX 3.x.x incorporates System 7 for the Macintosh allowing for the use of
  219. the vast majority of Macintosh applications under A/UX. System7 and Unix
  220. and fully integrated under A/UX 3.x.x with the Unix file system being seen as
  221. a disk drive by the Finder.
  222.  
  223. There are quite a few people who feel that A/UX is a near-perfect implemen-
  224. tation of Unix. Of course, every operating system (even AIX!) has it's share
  225. of devotees, so that's not a very valid scale of whether the system is any
  226. good. A/UX _is_ Unix... it's not some form of pseudo-Unix. It insulates the
  227. user from Unix, if required, but the System Administrator will need to become
  228. Unix-aware. Furthermore, if you want straight Unix, you can get it... it's
  229. not a chore to bypass all the "gingerbread." People may also complain that
  230. A/UX is based on an "obsolete" version of AT&T Unix (V.2.2). In many ways,
  231. Apple's extensions make A/UX very V.3-like (V.3 is in many ways an enhanced
  232. V.2... it even uses the V.2 kernel)... The list of extensions to A/UX are
  233. impressive. Compare what you get standard with other systems and you'll be
  234. shocked! On some, 'cc', 'f77', NFS, etc... are costly options.
  235.  
  236. The main consideration (and opposition) to A/UX is the platform it runs on:
  237. The Macintosh. Some consider this a boon, others a bust. At present, Apple's
  238. top-level workstation is the Quadra 800, a 33MHz 68040 based system. Some
  239. consider this obsolete; others consider it overkill; others consider it, like
  240. Goldilocks, "just right."
  241.  
  242. If you need super-fast state-of-the-art number crunching capability then A/UX
  243. may not be for you... the Q800 benchmarks at maybe 10-16 SPECmarks (depending
  244. on compiler used, external cache size, etc...) and you can get lots faster
  245. with other platforms. Of course, you'll have to "settle" for their operating
  246. systems, but if you need it, then that's how you'll get it.  Of course, this
  247. doesn't mean that A/UX "crawls"...
  248.  
  249. There are very few people who need this type of performance though. If you
  250. need (or just _want_ ) a Unix workstation with the speed and power of Unix
  251. and the user interface and application selection of the Macintosh then A/UX
  252. is the way to go. In many, many ways, A/UX is the Unix "for the rest of
  253. us"... even if we are long-time Unix junkies. If you love the Mac, you'll
  254. love A/UX; if you love Unix, you'll love A/UX... and if you want a near-
  255. perfect marriage of the two, then you'll love A/UX.
  256.  
  257. Yes, A/UX is good... very, very good :)
  258.  
  259. ========================================================================
  260. G.02)  What's the minimum system I need (CPU, disk and RAM) to run A/UX?
  261. ------------------------------------------------------------------------
  262.  
  263. A/UX 3.0 works on the MacII (with PMMU _or_ 68030 upgrade with FDHD ROM's
  264. installed), IIx, IIcx, IIci, IIfx, SE/30, IIsi (with 68882 chip) and the
  265. Quadra 700|900|950 computers. A/UX 3.0.1 adds support for the Q800 and Centris
  266. Machines (the Centrises _must_ have the real 68040 w/FPU - See Q&A #G.03).
  267. A/UX does not support the ClassicII, PowerBook, Duo or LC families.  A/UX
  268. does _not_ work on the new 840av and 660av machines but will run on the new
  269. Quadra 610 and 650s (recall that A/UX requires the _real_ 68040 chip!) with
  270. a little bit of work:
  271.  
  272.   You should make a copy of the A/UX Install Boot floppy and then copy the
  273.   Enabler for the Q610|650 onto this copy. You then boot up from this floppy
  274.   and install A/UX as usual. Finally, you'll need to copy the Q610|650
  275.   Enabler onto the A/UX MacPartition (or whatever MacOS disk you will use
  276.   when starting up your Mac and booting A/UX); do this by first booting off
  277.   a boot floppy or boot CD and then copy the Enabler over. You do _not_ need
  278.   to make any changes to the A/UX System Folder (i.e. the System Folder used
  279.   under A/UX).
  280.  
  281. Recall that A/UX _is_ UNIX and thus contains some very hardware specific
  282. drivers. It's for this reason (and not Apple not doing things correctly) that
  283. A/UX won't work on newly released platforms. To support a new platform, at
  284. least _some_ work (and possibly extensive work in some cases) must be done.
  285.  
  286. If you really want to cut it close, 8MB RAM and an ENTIRE 80MB hard disk will
  287. just make it. You'll have little room for user files (unless you clear out
  288. some space by removing /games and maybe /catman) and depending on your
  289. workload, may suffer from low performance (due to swapping... you may even
  290. encounter the infamous swap messages :)
  291.  
  292. A much better system would be 16MB of RAM and about 200MB of disk space.
  293. This would give you much more room to grow as well as sufficient RAM to
  294. increase your performance (assuming that you tune some kernel parameters).
  295. All in all, more RAM is prefered: 20MB (or more) is ideal.
  296.  
  297. ===================================
  298. G.03)  What's new about A/UX 3.x.x?
  299. -----------------------------------
  300.  
  301. A/UX 3.x.x incorporates the full functionality of System7. It supports the
  302. QuickTime multimedia extension and the new Mac Quadra computers (not the AV
  303. machines, however). A/UX 3.x.x includes X11R4 in it's distribution, as well
  304. as MacX. Installation of A/UX is much easier that it was before and can be
  305. installed on any 3rd party hard disk using the "new and improved" HD Setup
  306. application (see Q&A #A.16 though).
  307.  
  308. 3.0.2 is a later version of A/UX. 3.0.1 added support for the Q800 and
  309. the Centris machines (650 and 610) as long as they have the _real_ 68040 chip
  310. (68RC040) installed (Support for the C650 is official; support for the C610,
  311. which _requires_ the 040 be replaced since none have the required one
  312. installed, is non-official but known and verified). A/UX 3.0.2 will also run
  313. on the new Quadra 610 and 650; see G.02 to see how. To get 3.0.2, you'll need
  314. to install 3.0.1 and then apply the AWS Tune-Up 1.0 to upgrade to 3.0.2. This
  315. upgrade is free.
  316.  
  317. 3.1 is the latest version of A/UX. 3.1 greatly improves performance and
  318. reliability as well as fixes some bugs. It does not, however, add support for
  319. any other Macs. 3.1 is "tweaked" for the AWS95, but can be run on other
  320. non-AWS95 Macs as well (see Q&A G:09).
  321.  
  322. 3.0.1, in addition to supporting newer Macs, provides performance boosts, bug
  323. fixes, better Finder emulation and other enhancements over 3.0. 3.0.2 does
  324. the same for 3.0.1. The upgrade from older versions of A/UX to 3.0.2 really
  325. _is_ worth the pretty small amount of money required. 3.0.2 is a better and
  326. more solid performer, both UNIX-wise and Finder-wise, than it's predecessors.
  327. 3.1 requires 3.0.1|3.0.2 and provides much better performance and should be
  328. seriously considered!
  329.  
  330. ====================================================
  331. G.04)  What's the diff between 3.0.2 and 3.0.2(wgs)?
  332. ----------------------------------------------------
  333.  
  334. 3.0.2 is an exact binary-copy of 3.0.2(wgs) (which is the version of A/UX
  335. for the WGS 95 server) except for some minor cosmetics and the exclusion of
  336. the server-related applications. This includes RetroSpect for A/UX (see Q&A
  337. #E.03). Some of the major differences between 3.0.2 and 3.0.2(wgs) include:
  338.  
  339.     o Buffer cacher size (default kconfig parameters)
  340.     o Packages installed during Easy Install
  341.     o Swap space size on Easy Install
  342.     o Autologin enabled in 3.0.2(wgs)
  343.     o lpr daemon on in 3.0.2, off in 3.0.2(wgs)
  344.     o Partition choices in HDSC SetUp
  345.  
  346. As you can see, they are all related to how the system is setup...
  347.  
  348. ============================
  349. G.05)  How can I order A/UX?
  350. ----------------------------
  351.  
  352. A/UX is available preinstalled on Mac systems or on CD-ROM. To find the
  353. nearest A/UX reseller, call 1-800-538-9696. You'll need access to a compatible
  354. CD-ROM drive to install A/UX (or a friendly dealer if you go that route).
  355. Please note that at the present, you can only order 3.0.1; you'll then need
  356. to apply the AWS Tune-Up 1.0 (available on jagubox and aux.support.apple.com)
  357. to upgrade up to 3.0.2.
  358.  
  359. The part numbers (and suggested retail price) for 3.0.1 are (US and Canada):
  360.  
  361.     M0598LL/C     A/UX 3.0.1 CD-ROM product                 ($795)
  362.                   (contains Essential Manuals)
  363.     M0597LL/B     A/UX 3.0.1 Essential Manuals              ($329)
  364.     M0430LL/B     A/UX 3.0.1 Programmers Manuals            ($329)
  365.     M0431LL/B     A/UX 3.0.1 Administrators Manuals         ($329)
  366.  
  367.     M0599LL/C     A/UX 3.0.1 Update (updates previous       ($250)
  368.                   versions to 3.0.1)
  369.     M0489LL/B     A/UX 3.0.1 Programmers Manual Update      ($285)
  370.     M0490LL/B     A/UX 3.0.1 Admin. Manual Update           ($285)
  371.  
  372. If you are interested in upgrading your Q950 to the Apple WGS-95 Server
  373. (which uses A/UX 3.0.1) here are the part numbers (with SRP):
  374.  
  375.     M6940Z/A      WGS 95 PDS Upgrade Kit                     ($2499)
  376.     M6945Z/A      WGS 95 PDS + DAT Upgrade Kit               ($4399)
  377.  
  378. By the way, MacWarehouse is now selling the A/UX 3.0.1 CD-ROM package for
  379. $619... Their phone number is 1-800-255-6227; ask for part#SYS0009.
  380.  
  381. To get 3.0.2, you need to snag the AWS Tune-Up 1.0 DiskCopy image files from
  382. aux.support.apple.com or jagubox and apply the patches. Although the Tune-Up
  383. is called AWS, it's really for _all_ A/UX users. Note that you need 3.0.1 to
  384. upgrade to 3.0.2.
  385.  
  386. If you want to upgrade to 3.1, please see Q&A G.09.
  387.  
  388. ==============================================
  389. G.06)  What's the upgrade path for A/UX 3.0.2?
  390. ----------------------------------------------
  391.  
  392. You can upgrade to 3.0.2 (from any other version of A/UX) by purchasing the
  393. A/UX 3.0.1 CD-ROM Product Upgrade (Apple part # MO599LL/C). The suggested
  394. price is $250. You then need to snag the AWS Tune-Up 1.0 disks to upgrade
  395. 3.0.1 to 3.0.2.
  396.  
  397. It's recommended that if you do upgrade, that you completely repartition
  398. your disk via the Installer for two reasons:
  399.  
  400.     1. The default (suggested) partition sizes have changed
  401.  
  402.     2. You install 3.0.1 on a "clean" system.
  403.  
  404. If you want to upgrade to 3.1, please see Q&A G.09.
  405.  
  406. ============================================================
  407. G.07)  What are Right-To-Copy and Right-To-Upgrade licenses?
  408. ------------------------------------------------------------
  409.  
  410. If you have bought at least one copy of A/UX 3.0.x and you have other Mac
  411. CPUs that you would like to install A/UX on, you don't need to reorder the
  412. entire product. You can order a Right-To-Copy license for each Mac you want
  413. to install A/UX on and then copy your A/UX to that Mac. This is cheaper than
  414. buying a whole new CD-ROM package. It's not right to copy unless you have a
  415. Right-To-Copy.
  416.  
  417. If those other Macs are already running A/UX, but an older version, then you
  418. need to order a Right-To-Upgrade license for each one you want to upgrade.
  419. As above, you then copy your 3.0.x over to that Mac.
  420.  
  421. Note that in both cases, you must have purchased at least 1 copy of A/UX
  422. 3.0.x. The Right-To-* licenses just "authorize" you to then copy that over
  423. to other Macs.
  424.  
  425. The A/UX Essential Manual Set (that comes with A/UX 3.0.x) is not provided
  426. with either license. If you need more, you'll need to order them
  427.  
  428. =========================================
  429. G.08)  How can I report bugs that I find?
  430. -----------------------------------------
  431.  
  432. The official E-mail address is reports@aux.support.apple.com. If you subscribe
  433. to the A/UX Technical AnswerLine, you can also use that method. The former
  434. isn't acknowledged although the latter is.
  435.  
  436. For completeness, also post the report to comp.unix.aux.
  437.  
  438. There is also a HyperCard stack called "Apple Bug Reporter" that Apple
  439. recommends using. I have a copy and can make it available via anon-ftp if
  440. there is a demand.
  441.  
  442. ===================================
  443. G.09)  What's the word on A/UX 3.1?
  444. -----------------------------------
  445.  
  446. The latest version of A/UX, 3.1, has signed been signed off on and is now
  447. shipping.  3.1 offers better performance than 3.0.2, fixes for various bugs,
  448. better MacOS emulation and some updated programs and applications.  3.1
  449. requires 3.0.1|3.0.2 and costs $199 (+ $5 for shipping, $10 for FedEx). You
  450. can order it directly by calling 1-800-769-2775, x7822. Ask for the A/UX 3.1
  451. WGS Upgrade Kit. If that doesn't work, try asking for part # M2885Z/A.
  452.  
  453. 3.1 has only been _fully_ tested on the AWS95 platform and not on all the
  454. other platforms that A/UX runs on; however, nothing was done to it to prevent
  455. it from working on other machines. 3.1 is "only" for the AWS95s in the same
  456. way that 3.0.2 was "only" for them ;)
  457.  
  458. Anyway, here is a short and non-official list of some 3.1 features:
  459.  
  460.    o sendmail 8.6.4 now included
  461.    o support for new Berkeley NDBM package
  462.    o Added support for "dynamic" use of removables, such as SyQuests
  463.    o NEC CD-ROMs now supported !!
  464.    o StyleWriter II supported
  465.    o Support for UNIX file systems up to 4GB
  466.    o Enhanced I/O performance (big improvement for fast machines and/or
  467.      disks!)
  468.    o Interupting a NFS server now works
  469.    o Solaris clients no longer crash A/UX
  470.    o Heavy UFS and NFS I/O no longer causes 'panic: freeing free inode'
  471.      errors and deadlocks
  472.    o I/O no longer causes excessive dropped kernel clock interupts
  473.    o The size of .fs_cache no longer limited to 32MB
  474.    o Death of 'catsearchd' now detected and responded to (used to crash
  475.      the MacOS)
  476.    o Desktop rebuilds no longer cause the Finder to terminate when the
  477.      rebuild is done.
  478.    o ThinkC runs under A/UX
  479.    o Much better MacOS compatibility
  480.    o 'Temporary Items' correctly handled
  481.    o Various "needed" programs (like /bin/sh) recompiled w/o shared
  482.      libs so that the system is still restorable after /shlib is munged
  483.    o Various bug fixes and improvements, including:
  484.       cpio (new option -L to follow sym-links)
  485.       df (handles longer bus names)
  486.       fsck (ignores 'noauto' and '-p'&'-y' now work correctly)
  487.       make (uses SHELL in makefile)
  488.       passwd (MAXUID now 65534)
  489.       restore (can now restore named pipes)
  490.  
  491. ====================================================
  492. G.10)  What's the future of A/UX with the PowerMacs?
  493. ----------------------------------------------------
  494.  
  495. Well, that's the $64,000 question. The quick and easy answer is "Nobody
  496. knows." There are a few known factoids: (1) A/UX in it's _present_ form
  497. will _not_ be ported to the PowerMac. (2) Apple will have some form of UNIX
  498. (most probably based on some form of AIX) running on it's future PowerMac
  499. servers. Other than those two items, the rest is up in the air.
  500.  
  501. There are a few rumors going around:
  502.  
  503.  o Apple will release some form of PowerOpen-A/UX. This will be based on AIX
  504.    but will have enuff changes to it that it will be much better than AIX is
  505.    (similar to how A/UX has improved on it's SysVR2 base). PowerOpen-A/UX
  506.    will be for both servers and non-servers as well (again, similar to
  507.    the present A/UX). PowerOpen-A/UX will have some form of the Macintosh
  508.    Application Environment (MAE) running on it, although it may be different
  509.    (better) than that available for Sun and HP unix-boxes. Needless to say,
  510.    this is what the vast majority if present A/UXers would like.
  511.  
  512.  o Apple will release some form of PowerOpen-A/UX. This will be based on
  513.    AIX with minimal (or no) changes at all.  PowerOpen-A/UX will be for
  514.    both servers and non-servers as well (again, similar to the present
  515.    A/UX). PowerOpen-A/UX will have some form of the Macintosh Application
  516.    Environment (MAE) running on it, although it may be different (better)
  517.    than that available for Sun and HP unix-boxes. Due to it's base of
  518.    "straight" AIX, this is not super attractive to present A/UXers...
  519.  
  520.  o Apple will release some form of PowerOpen-A/UX but it will be only for
  521.    servers.
  522.  
  523.  o Apple will release some form of PowerOpen-A/UX for servers, but it's
  524.    MacOS emulation will either be _very_ barebones or even non-existant.
  525.  
  526.  o Apple will decide that UNIX on PowerMacs is a waste (thus removing the
  527.    "fact-ness" of factoid #2) and will "give" the market of UNIX on PowerPCs
  528.    to the other guys, such as IBM, Solaris, etc... Thus, Apple will not have
  529.    any form of UNIX for the PowerMacs. Sooo, if you want the MacOS on top
  530.    of UNIX, you'll need to buy a UNIX box that the MAE is available for.
  531.  
  532.  
  533.  
  534. :::::::::::::::::::::::::::::::::
  535. ::::: ADMINISTRATION ISSUES :::::
  536. :::::::::::::::::::::::::::::::::
  537.  
  538. ==================================================
  539. A.01) How come my Login screen is gray, not color?
  540. --------------------------------------------------
  541.  
  542. Because that's the way Apple wanted it :) Actually, the reason why is because
  543. the 'scrn' resource is missing from 'System' in /mac/sys/Login System Folder.
  544. If you're handy, you can copy 'scrn' from some other System and paste it in
  545. Login's using ResEdit. Make sure the "Is Color" field in 'scrn' is "1".
  546.  
  547. =================================================================
  548. A.02) How come my Login ScreenSaver doesn't see both my monitors?
  549. -----------------------------------------------------------------
  550.  
  551. This is also due to the fact (see Q&A #A.01) that the System file in
  552. /mac/sys/Login System Folder lacks a 'scrn' resource. If you copy this
  553. resource from a System to knows about your monitor setup into Login's System,
  554. then the screensaver will knows about all your monitors.
  555.  
  556. ================================
  557. A.03)  Swap space error messages
  558. --------------------------------
  559.  
  560. A.03)  Even though I have lot's of swap space and only a little bit is
  561.        being used, I STILL get a lot of messages saying that my swap
  562.        space is running low. What's the buzz?
  563.  
  564. Unix is justifyably concerned about having adequate swap space. A system
  565. crash caused by this beast is a sight to behold. However, A/UX seems EXTREMELY
  566. nervous about the amount needed before it starts getting fidgety.  If you do
  567. a "/etc/swap -l" and see that you're only using a small portion of your swap
  568. space and have a "lot" left, then you can safely ignore the messages (just
  569. how much is a "lot" is hard to say, but if you have 25000 blocks and are only
  570. using 1000 or 2000, then I'd say you were fine). If you DO need more swap
  571. space, then you have a few options:
  572.  
  573.     a. Using 'kconfig', reduce the number and size of buffers.
  574.        This isn't really a good idea since it could really degrade
  575.        performance as well as possibly causing more panics.
  576.  
  577.     b. Add more swap space.
  578.        Fine, if you have it. You could either add another disk
  579.        as swap (nice) or repartition your present disk to create
  580.        a larger Swap partition (Ack!).
  581.  
  582.     c. Add more memory.
  583.        If you have more memory, then this will reduce the need to
  584.        augment it with swap space... RAM's cheap too! There is an
  585.        old rule of thumb that the size of Swap should be about
  586.        2 to 3 times the amount of RAM, which would seem to contradict
  587.        the above. The thing is that if with the _present_ workload
  588.        you are swapping like crazy, then adding RAM will reduce
  589.        tha swapping. If, however, you start increasing the work-
  590.        load, then swapping will start again, and you better have
  591.        enough of it! This was the original intent of the Rule-Of-
  592.        Thumb. At the very least, Swap should always be at least
  593.        as big as the amount of RAM you have.
  594.  
  595. ================================================
  596. A.04)  How can I copy a complete file system...
  597. ------------------------------------------------
  598.  
  599.   ...from one disk|partition to another?
  600.  
  601. You have three options: dd, dump.bsd and cpio (pax MAY work but tar won't
  602. since it won't handle special-type files). If the two partitions are the same
  603. size, you can use 'dd' (to copy c0d0s0 to c5d0s3, e.g.):
  604.  
  605.     $ dd < /dev/rdsk/c0d0s0 > /dev/rdsk/c5d0s3
  606.  
  607. To use dump.bsd, you can use the following command (this assumes that the
  608. destination disk in mounted on /mnt and you want to copy the root file system
  609. which is on SCSI 0... of course, you must be root and it would be MUCH better
  610. to do this in single-user mode):
  611.  
  612.     $ dump.bsd 0f - /dev/rdsk/c0d0s0 | (cd /mnt; restore xf -)
  613.  
  614. To use cpio, you must use it in a pipe with find. For example, to copy /usr
  615. (let's assume it's on it's own file system) to another disk|partition (assume
  616. it's mounted on /mnt) then you can use (you can add the "-depth" flag to
  617. 'find' if you want):
  618.  
  619.     $ cd /usr
  620.     $ find . -print | cpio -pdmuva /mnt
  621.  
  622. The problem with this is that if the mount point of the destination disk
  623. falls under the file system's directory you're trying to copy, you'll load
  624. up your destination disk. For example, the following would NOT work:
  625.  
  626.     $ cd /
  627.     $ find . -print | cpio -pdmuva /mnt
  628.  
  629. because 'find' would see the stuff in /mnt (which you just put in there) and
  630. try to copy in back to /mnt! To way to avoid this is by adding a little
  631. filter:
  632.  
  633.     $ cd /
  634.     $ find . -print | grep -v '^./mnt*' | cpio -pdmuva /mnt
  635.  
  636. If you have GNU find, then you can use it with it's '-xdev' option, which
  637. prevents find from walking through other file systems:
  638.  
  639.     $ cd /
  640.     $ find . -xdev -print | cpio -pdmuva /mnt
  641.  
  642. dump.bsd creates a "truer" copy of your file system (the access and
  643. modification dates aren't mucked with... with the find/cpio pipe, at the
  644. least the directory dates are touched) but it won't backup named pipes...
  645. These are easy to creat though using 'mknod'. The only named pipes included
  646. in the default A/UX distribution are:
  647.  
  648.     /usr/lib/cron/FIFO
  649.         prw-------   1 root     sys            0 Oct 18 16:08
  650.  
  651.     /usr/spool/lpd/AppleTalk/pipe
  652.         prw-rw----   1 daemon   daemon         0 Oct 19 06:11
  653.  
  654. ========================
  655. A.05)  What's with UUCP?
  656. ------------------------
  657.  
  658. UUCP under 3.x.x is very improved over it's previous "incarnation" under 2.0.1.
  659. 3.x.x uses HDB (for HoneyDanBer) UUCP instead of standard UUCP. Some nice
  660. things are bidirectional getty (also known as uugetty in other Unixs) which
  661. allows both incoming and outgoing communication over serial lines as well as
  662. better performance and reliability. I hear that setting it up is _much_ easier
  663. as well.
  664.  
  665. You may seriously consider getting Alexis Rosen's "sendmail.cf" file for use
  666. under UUCP sendmail. This config file has been modified to allow UUCP and
  667. sendmail to work beautifully together. You may also want to consider simply
  668. installing smail to replace sendmail.
  669.  
  670. Under 3.0., be sure that you are running the latest version: 1.16. It can be
  671. found on aux.support.apple.com in aux.patches/supported/3.0. Be sure that you
  672. get the new dial.o on ftp.apple.com (pub/earlw/dial) to avoid breaking syslog.
  673. Under 3.0.1 (and later) all is OK.
  674.  
  675. ==============================================
  676. A.06)  How can I log anonymous ftp entries?...
  677. ----------------------------------------------
  678.  
  679.   ...in.ftpd has a -l option, but it doesn't work.
  680.  
  681. Jim Jagielski (jim@jagubox.gsfc.nasa.gov) has hacked in.ftpd to enable logging
  682. via the syslogd daemon. It also pays extra close attention to anonymous ftp
  683. logins. It's available (as well as other ports|hacks) on jagubox. Also
  684. available on jagubox is a port of the latest version of wuarchive's ftpd
  685. server for A/UX. wu-ftpd is a super-nice ftp server with lots of extras
  686. and neat features!
  687.  
  688. The real reason why '-l' doesn't work with in.ftpd is that there's no real
  689. way to send this option to the daemon. A/UX 'inetd' doesn't allow you to add
  690. options to '/etc/servers'. John Coolidge (coolidge@apple.com) has ported the
  691. BSD-reno version of 'inetd' to overcome this limitation. Jim Jagielski has
  692. since been updating and maintaining 'inetd'. This version of 'inetd' also has
  693. some nice features, such as rereading /etc/servers when sent SIGHUP. It's
  694. available on jagubox. This version of 'inetd' has also been modified to log
  695. whenever it spawns a background daemon as well as logging which host requested
  696. the daemon.
  697.  
  698. %%% For more info, contact Jim %%%
  699.  
  700. ============================================
  701. A.07)  'df' shows different results for root
  702. --------------------------------------------
  703.  
  704. A.07)  How come when I do a 'df' as a regular user, it shows me a different
  705.        number of free blocks compared to when I run it as 'root'?
  706.  
  707. One of the details about the BSD Fast File System is that it sets aside
  708. some amount of the available disk space (if the file system was created by
  709. HD SC Setup, then %5 is set aside; if created by 'newfs' then 10% is set
  710. aside... this value can be changed by using the 'tunefs' command) and makes
  711. it unavailable to regular users. This prevents 2 things: filling up a file
  712. system and destroying performance by having a "too full" file system. 'root',
  713. however, does have access to this "extra" disk space, hence the difference in
  714. the numbers reported by df between 'root' and "regular joe".
  715.  
  716. As mentioned above, if you used HD Setup to create the partitions (or your
  717. A/UX came preinstalled), then the "set aside" value for these file systems
  718. is 5%, not the "default" of 10%... This was simply to give users more space.
  719. Reducing this value beyond 5% is Not A Good Idea.
  720.  
  721. ======================================
  722. A.08)  Does A/UX LocalTalk support IP?
  723. --------------------------------------
  724.  
  725. Nope... not at all.
  726.  
  727. ==========================================================
  728. A.09)  How do I get MPW 3.1 to work? It hangs my system...
  729. ----------------------------------------------------------
  730.  
  731. MPW 3.1 doesn't work under A/UX although 3.2 does. In the meantime, you
  732. can make 3.1 work by breaking into MacsBug when it's hung and entering:
  733.  
  734.     pc=pc+2;g
  735.  
  736. See Q&A #M.04 for info about entering MacsBug...
  737.  
  738. ===============================================================
  739. A.10)  Can I refer to a file on my Mac system from within A/UX?
  740. ---------------------------------------------------------------
  741.  
  742. A/UX's 'Finder' mode is the only way (currently) to access both file systems.
  743. You could write a hybrid application that could attach to the Finder world
  744. (a la, CommandShell and cmdo which can "see" both file systems), but you
  745. can't access HFS volumes from the A/UX kernel directly.  In a similar vein,
  746. you can't 'mount' an HFS volume on an A/UX inode.
  747.  
  748. =================================================================
  749. A.11)  How can I adjust the amount of virtual memory Finder uses?
  750. -----------------------------------------------------------------
  751.  
  752. There are three ways to do this. The first is very easy: you simply use the
  753. Memory cdev to adjust the "memory" size, logout and then log back in. You
  754. must be 'root' to do it this way.
  755.  
  756. The 2nd way is to use the 'TBMEMORY' environment variable. You can set it's
  757. "value" equal to the amount of memory you wish to use. For example:
  758.  
  759.     set TBMEMORY=10m         (in .profile for ksh or sh or /etc/profile)
  760.        -or-
  761.     setenv TBMEMORY 10m      (in .login for csh)
  762.  
  763. configures Finder for 10M.
  764.  
  765. You can also edit /mac/bin/mac32|mac24 (or .mac32|.mac24 if you are using
  766. this method) to call 'startmac' with the memory size you want using the
  767. "-m" option. For example:
  768.  
  769.     /mac/bin/startmac -m 8m > $SMLOGFILE 2>&1 &
  770.                      -------
  771.  
  772. in (.)mac32|(.)mac24 will configure an 8M environment.
  773.  
  774. Please note that under the 24-bit mode (mac24), you can only access a maximum
  775. of 8MB of RAM. It won't complain if you try to setup more, it just won't do
  776. it. Furthermore, if you actually have more than 8MB (say 12), the "About This
  777. Macintosh" window will show "Built-in Memory: 12,288 K; Total Memory: 8,192K".
  778.  
  779. The default behavior of 3.0 (and earlier) was to allocate all the RAM to the
  780. MacOS. Thus, if you had 20MB, A/UX would, unless told otherwise, allocate
  781. 20MB for the MacOS-emulation. Under 3.0.1 (and later), this is slightly
  782. changed: A/UX will usually not allocate all RAM to the MacOS but will instead
  783. impose a 16MB maximum (this can be changed via Memory or TBMEMORY). Whatever
  784. version of A/UX you are running, it's a Good Idea not to allocate _all_ RAM
  785. for the Finder. This is because A/UX allocates itself a chunk, so if you give
  786. the Finder "all" of it, you can cause swapping and paging which can seriously
  787. degrade performance at times.
  788.  
  789. If the value set in 'Memory' and TBMEMORY disagree, the value determined by
  790. TBMEMORY is used.
  791.  
  792. ================================================================
  793. A.12)  Is there an archive of comp.unix.aux out there somewhere?
  794. ----------------------------------------------------------------
  795.  
  796. Yes, it's located on aux.support.apple.com under archives/comp.unix.aux.
  797.  
  798. ==========================================
  799. A.13)  How come I can't use color under X?
  800. ------------------------------------------
  801.  
  802. Apple's X (R4), and Thomas Eberhardt's X11R5 all support color. However, you
  803. must start the server with the "-screen 0 -depth 8" option (similar command
  804. with other screens if you have them). You can add these options to the command
  805. line or to your server's defaults file. You can also create a ".X11" file in
  806. your home directory which includes the line:
  807.  
  808.     X -screen 0 -depth 8
  809.  
  810. to get the same effect. Make sure that ".X11" is executable for this to work
  811. ("chmod 755 .X11").
  812.  
  813. ===========================================
  814. A.14)  Accessing MacOS filenames under A/UX
  815. -------------------------------------------
  816.  
  817. A.14)  Using the command shell interface, I'm trying to access some Mac files
  818.        (that have strange names) but I can't; the program returns an error and
  819.        I can't access the file. What's going on?
  820.  
  821. The problem is that sh and csh don't understand the Mac "special" characters
  822. that are in the filenames. They don't expect filenames with characters that
  823. are represented by 8-bits. ksh is "8-bit clean" and thus would be able to
  824. access the file. For example, to remove Moire, just type:
  825.  
  826.     $ ksh           #this creates a Korn shell child
  827.     % rm M?ire      #match the weird 'o'
  828.     % exit          #get back in your old shell
  829.  
  830. You could also use emacs' DIRED or the Gnu File utilities to do this, but
  831. ksh is right here on the system so it's a bit easier. Of course, another very
  832. easy way is to use the MacOS interface and do the deletion|rename|whatever
  833. the "Mac" way. Please note that if what you are MacOS deleting is a symbolic
  834. link to a directory, what gets Trashed is actually the contents of the
  835. directory as well as the link! This is due to the fact that to the Finder,
  836. the link looks like a folder, and the entire thing gets deleted.
  837.  
  838. ============================================
  839. A.15)  Installer problems on 3rd party disks
  840. --------------------------------------------
  841.  
  842. A.15)  I heard the the Installer for 3.x.x works on "any" 3rd party
  843.        hard disk. Well, it doesn't on mine!
  844.  
  845. Well, the Installer will work with any 3rd party disk but there are a few
  846. wrinkles... The HD Setup application in the 3.x.x Installer is unique in that
  847. not only does it create A/UX partitions but it also creates the actual file
  848. systems in those partitions (basically it runs 'newfs'). Now if you have used
  849. some other HD utility program (such as SilverLining or FWB HDT) to create
  850. the partitions and then attempt to install A/UX on that disk, the Installer
  851. sees that the partitions are there and then _assumes_ that they were created
  852. by HD Setup and therefore have the file systems already created.  Of course,
  853. the file systems don't exist yet, just the partitions, so the installation
  854. fails.
  855.  
  856. You have a few options:
  857.  
  858.  a. Run the Installer on a newly formatted disk. This means that HD Setup
  859.     will do all the partitioning (etc...) and the installation will proceed.
  860.     Note that this means you will be "stuck" with the Apple drivers whenever
  861.     you are in the _real_ MacOS Finder.
  862.  
  863.  b. If you want to use the drivers on your HD utility (for stuff like,
  864.     maybe, password protection of partitions) then you have two (maybe three)
  865.     additional options:
  866.  
  867.    i. Use 'a' above to install A/UX. Then use your HD utility program to
  868.       "take over" the disk, disabling (or even removing) the Apple drivers
  869.       and installing it's own. Note that if there isn't enough space to
  870.       install it's drivers, most will attempt to "shrink" the MacOS partition
  871.       to make room. Most can do this with no problem, but why take the risk...
  872.       when you partition the disk, leave about 64K available as free space.
  873.  
  874.   ii. Use your HD utility to create the partitions. Then, before you
  875.       run the Installer, run 'newfs' "by hand" to create the file systems so
  876.       that the installation can proceed.
  877.  
  878.  iii. Use your HD utility to format (etc...) your disk and create
  879.       _only_ the MacOS partition. Now run the Installer. In most cases HD
  880.       Setup will work fine with the driver installed on the disk.  You can
  881.       now use it to create the A/UX partitions.
  882.  
  883.       <<ED: I _know_ this (iii) works with FWB HDT>>
  884.  
  885. Please note that HD SC Setup will only create the file systems if run under
  886. A/UX. If you run it under the MacOS, it can only partition...
  887.  
  888. ==========================
  889. A.16)  RetroSpect for A/UX
  890. --------------------------
  891.  
  892. A.16)  Since RetroSpect will no longer be bundled with A/UX 3.0.2,
  893.        how can I get it?
  894.  
  895. Very early reports indicated that RetroSpect for A/UX might be bundled with
  896. A/UX 3.0.2 as it is with the AWS95 version of 3.0.2. This is no longer the
  897. case (if it ever _was_ ). However, if you are a registered owner of RetroSpect
  898. 2.0, you can order an upgrade to RetroSpect A/UX. The cost is around $200
  899. and to order (or more info) you can call 1-800-225-4880 (have your
  900. registration number handy). International customers should call 510-849-0293.
  901.  
  902. Please note that if you have the Pisces card installed (with the WGS95), then
  903. _only_ RetroSpect A/UX will work and _only_ under the A/UX environment.  You
  904. will not be able to access your DAT under the real MacOS!
  905.  
  906. ==========================================
  907. A.17)  How can I configure CAP under A/UX?
  908. ------------------------------------------
  909.  
  910. For the answer, snag a copy of CAP.txt which is available on jagubox (in
  911. /pub/aux for anon-ftp).
  912.  
  913. ===========================================
  914. A.18)  What are some good books about A/UX?
  915. -------------------------------------------
  916.  
  917. Except for Apple's complete manual set, there are no books specifically about
  918. A/UX. (Well, there's one but it's most probably out of print.  It is most
  919. definately out of date. It's called "The A/UX Handbook" by Jan Harrington
  920. and it's written for A/UX 2.0).
  921.  
  922. There are some _very_ good books about UNIX in general however. The best of
  923. the pack (IHMO) is "UNIX Administration Guide for System V" by Thomas and
  924. Farrow. Another good book is the "UNIX System Administration Handbook" by
  925. Nemeth, Snyder and Seebass. Since A/UX is a mix of SystemV and BSD both books
  926. are worthwhile ("UNIX Sys. Ad. Handbook" deals "mostly" with BSD systems).
  927. Another must-have is "UNIX Power Tools" from O'Reilly and Associates.
  928.  
  929. For general information about shells and programming there's no better book
  930. than "The UNIX Programming Environment" by Kernighan and Pike. For the 'ksh'
  931. shell, the best book I've encountered is "Learning the Korn Shell" by Bill
  932. Rosenblatt.
  933.  
  934. O'Reilly and Associates has a wide selection of UNIX-based books. You're
  935. bound to find what you're looking for from them. You can contact them either
  936. via Email (nuts@ora.com) or Phone (1-800-998-9938).
  937.  
  938. There is also a list (with over 160 entries) of UNIX books (and mini-reviews)
  939. located on ftp.rahul.net in 'pub/mitch/YABL/yabl'.
  940.  
  941. ========================================
  942. A.19)  'panic ialloc' error when booting
  943. ----------------------------------------
  944.  
  945. A.19)  When booting up, I get a "panic ialloc, dup alloc" (or other)
  946.        error message and A/UX won't boot. What can I do?
  947.  
  948. This is due to the fact that some file system damage exists on the Root file
  949. system. By default, A/UX Startup will only run 'fsck' on the root file system
  950. if the system is marked as "dirty." So even if damage exists, as long as the
  951. disk was cleanly 'umount'ed, 'fsck' won't check it out and fix it.
  952.  
  953. I recommend always having A/UX Startup fully check out the disk before booting
  954. A/UX. It takes a while, but it's worth it. To do this, choose Booting from
  955. the Preferences menu. Now change the command under "AutoRecovery" to "fsck
  956. /dev/default" (it was "fsck -y -p /dev/default").  When you do this, you'll
  957. notice that the radio button changes from "Check root file system" to "Custom
  958. command"... that's OK. After that, A/UX will always run 'fsck' on Root. If
  959. you are doing this, you might as well have A/UX run a full 'fsck' on all
  960. file-systems too. Check out fsck(1m) and fstab(4) for how to do this... one
  961. way is to just edit /etc/bcheckrc and remove the options to the "/etc/fsck"
  962. command.
  963.  
  964. If you don't want to do this but you do have some damage that prevents A/UX
  965. from booting, then you can cancel the boot-up process (either select "Exit"
  966. or hit "Command-."). Then type "fsck /dev/default" and then, when 'fsck' is
  967. done, type "boot" (or "launch"). Sometimes you must run 'fsck' a coupla times
  968. to fully fix the file system if there was extensive damage.
  969.  
  970. //////////////////////  END OF PART 2 OF 4  \\\\\\\\\\\\\\\\\\\\\\
  971. -- 
  972. #include <std/disclaimer.h>
  973.     Jim Jagielski               |  "Is this something you can share with
  974.     jim@jagubox.gsfc.nasa.gov   |   the rest of us Amazing Larry!!??"
  975.     NASA/GSFC, Code 734.4       |                  Pee Wee
  976.     Greenbelt, MD 20771         |
  977.  
  978.